package com.wynet.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class Users {
    private Integer id;
    private String name;
    private Integer groupid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date ctime;

    public Users(String name,Integer groupid ) {
        this.name = name;
        this.groupid = groupid;
    }
}
